﻿using FubiManger.Pad;
using Smobiler.Core;
using Smobiler.Core.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FubiManger.Logistics
{
    partial class LoguserForm : Smobiler.Core.Controls.MobileForm
    {
        public LoguserForm() : base()
        {
            //This call is required by the SmobilerForm.
            InitializeComponent();
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public string adminid { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string nickname { get; set; }
        private void panclose_Press(object sender, EventArgs e)
        {
            this.Close();
        }
        /// <summary>
        /// 修改密码
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void panpwd_Press(object sender, EventArgs e)
        {
            Pwdcontrol con = new Pwdcontrol();
            con.adminid = adminid;
            this.Form.ShowDialog(con);
        }
        /// <summary>
        /// 退出登录
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnexit_Press(object sender, EventArgs e)
        {
            this.Client.ReStart();
        }

        private void LoguserForm_Load(object sender, EventArgs e)
        {
            lbluname.Text = nickname;//姓名
        }
    }
}